package org.csu.assemblyroom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("booking")
public class Booking {
    @TableId(value = "bookid", type = IdType.AUTO)
    private String bookid;

    @TableField(value = "userid")
    private String userid;

    @TableField(value = "roomnumber")
    private String roomnumber;

    @TableField(value = "date")
    private Date date;

    @TableField(value = "duration")
    private String duration;
}
